package cn.szq.springframework.aop;

/**
 * @description:
 * @author: szq
 * @date: 2021-09-16 16:56:05
 */
public class TargetSource {

    private final Object target;


    public TargetSource(Object target) {
        this.target = target;
    }

    public Class<?>[] getTargetClass(){
        return this.target.getClass().getInterfaces();
    }

    public Object getTarget(){
        return this.target;
    }
}
